﻿@model Theater.DataModels.Movie
<h2>Edit Movie</h2>
<div class="panel panel-default">
    <div class="panel-body">
        <div class="col-md-offset-3 col-md-6">
            <form method="post">
                @*@Html.HiddenFor(x => x.Id)*@
                <div class="form-group">
                    <label class="col-sm-2 control-label">Title</label>
                    <div class="col-sm-10">
                        <input type="text" value="@Model.Title" class="form-control" name="Title">
                    </div>
                </div>
                <div class="form-group">
                    <label class="col-sm-2 control-label">Image</label>
                    <div class="col-sm-10">
                        <input type="text" value="@Model.Image" class="form-control" name="Image">
                    </div>
                </div>
                <div class="form-group">
                    <label class="col-sm-2 control-label"></label>
                    <div class="col-sm-10">
                        <input type="submit" value="Save" class="btn btn-default" />
                    </div>
                </div>
                <input type="hidden" value="@Model.Id" class="form-control" name="id">
            </form>
            @*<form method="post" action="/Home/Delete/@Model.ID">
                    <div class="form-group">
                        <label class="col-sm-2 control-label"></label>
                        <div class="col-sm-10">
                            <input type="submit" value="Delete" class="btn btn-block btn-danger" /><br />
                        </div>
                    </div>
                </form>*@
        </div>
    </div>
</div>